Optimal. Leaf size=139 \[ -\frac {b^{2/3} p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{4 a^{2/3}}+\frac {b^{2/3} p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 a^{2/3}}-\frac {\sqrt {3} b^{2/3} p \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right )}{2 a^{2/3}}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {2455, 200, 31, 634, 617, 204, 628} \[ -\frac {b^{2/3} p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{4 a^{2/3}}+\frac {b^{2/3} p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 a^{2/3}}-\frac {\sqrt {3} b^{2/3} p \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right )}{2 a^{2/3}}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 200
Rule 204
Rule 617
Rule 628
Rule 634
Rule 2455
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (a+b x^3\right )^p\right )}{x^3} \, dx &=-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2}+\frac {1}{2} (3 b p) \int \frac {1}{a+b x^3} \, dx\\ &=-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2}+\frac {(b p) \int \frac {1}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{2 a^{2/3}}+\frac {(b p) \int \frac {2 \sqrt [3]{a}-\sqrt [3]{b} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{2 a^{2/3}}\\ &=\frac {b^{2/3} p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 a^{2/3}}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2}-\frac {\left (b^{2/3} p\right ) \int \frac {-\sqrt [3]{a} \sqrt [3]{b}+2 b^{2/3} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{4 a^{2/3}}+\frac {(3 b p) \int \frac {1}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{4 \sqrt [3]{a}}\\ &=\frac {b^{2/3} p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 a^{2/3}}-\frac {b^{2/3} p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{4 a^{2/3}}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2}+\frac {\left (3 b^{2/3} p\right ) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{2 a^{2/3}}\\ &=-\frac {\sqrt {3} b^{2/3} p \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right )}{2 a^{2/3}}+\frac {b^{2/3} p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 a^{2/3}}-\frac {b^{2/3} p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{4 a^{2/3}}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{2 x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 134, normalized size = 0.96 \[ -\frac {b^{2/3} p x^2 \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )+2 a^{2/3} \log \left (c \left (a+b x^3\right )^p\right )-2 b^{2/3} p x^2 \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )+2 \sqrt {3} b^{2/3} p x^2 \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a}}}{\sqrt {3}}\right )}{4 a^{2/3} x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 150, normalized size = 1.08 \[ \frac {2 \, \sqrt {3} p x^{2} \left (\frac {b^{2}}{a^{2}}\right )^{\frac {1}{3}} \arctan \left (\frac {2 \, \sqrt {3} a x \left (\frac {b^{2}}{a^{2}}\right )^{\frac {2}{3}} - \sqrt {3} b}{3 \, b}\right ) - p x^{2} \left (\frac {b^{2}}{a^{2}}\right )^{\frac {1}{3}} \log \left (b^{2} x^{2} - a b x \left (\frac {b^{2}}{a^{2}}\right )^{\frac {1}{3}} + a^{2} \left (\frac {b^{2}}{a^{2}}\right )^{\frac {2}{3}}\right ) + 2 \, p x^{2} \left (\frac {b^{2}}{a^{2}}\right )^{\frac {1}{3}} \log \left (b x + a \left (\frac {b^{2}}{a^{2}}\right )^{\frac {1}{3}}\right ) - 2 \, p \log \left (b x^{3} + a\right ) - 2 \, \log \relax (c)}{4 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 138, normalized size = 0.99 \[ -\frac {1}{4} \, b p {\left (\frac {2 \, \left (-\frac {a}{b}\right )^{\frac {1}{3}} \log \left ({\left | x - \left (-\frac {a}{b}\right )^{\frac {1}{3}} \right |}\right )}{a} - \frac {2 \, \sqrt {3} \left (-a b^{2}\right )^{\frac {1}{3}} \arctan \left (\frac {\sqrt {3} {\left (2 \, x + \left (-\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{a b} - \frac {\left (-a b^{2}\right )^{\frac {1}{3}} \log \left (x^{2} + x \left (-\frac {a}{b}\right )^{\frac {1}{3}} + \left (-\frac {a}{b}\right )^{\frac {2}{3}}\right )}{a b}\right )} - \frac {p \log \left (b x^{3} + a\right )}{2 \, x^{2}} - \frac {\log \relax (c)}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.34, size = 197, normalized size = 1.42 \[ -\frac {\ln \left (\left (b \,x^{3}+a \right )^{p}\right )}{2 x^{2}}-\frac {-2 x^{2} \RootOf \left (a^{2} \textit {\_Z}^{3}-b^{2} p^{3}\right ) \ln \left (-\RootOf \left (a^{2} \textit {\_Z}^{3}-b^{2} p^{3}\right ) a b \,p^{2}+\left (-4 \RootOf \left (a^{2} \textit {\_Z}^{3}-b^{2} p^{3}\right )^{3} a^{2}+3 b^{2} p^{3}\right ) x \right )-i \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i \left (b \,x^{3}+a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b \,x^{3}+a \right )^{p}\right )+i \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \left (b \,x^{3}+a \right )^{p}\right )^{2}+i \pi \,\mathrm {csgn}\left (i \left (b \,x^{3}+a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (b \,x^{3}+a \right )^{p}\right )^{2}-i \pi \mathrm {csgn}\left (i c \left (b \,x^{3}+a \right )^{p}\right )^{3}+2 \ln \relax (c )}{4 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.45, size = 120, normalized size = 0.86 \[ \frac {1}{4} \, b p {\left (\frac {2 \, \sqrt {3} \arctan \left (\frac {\sqrt {3} {\left (2 \, x - \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{b \left (\frac {a}{b}\right )^{\frac {2}{3}}} - \frac {\log \left (x^{2} - x \left (\frac {a}{b}\right )^{\frac {1}{3}} + \left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{b \left (\frac {a}{b}\right )^{\frac {2}{3}}} + \frac {2 \, \log \left (x + \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{b \left (\frac {a}{b}\right )^{\frac {2}{3}}}\right )} - \frac {\log \left ({\left (b x^{3} + a\right )}^{p} c\right )}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.61, size = 115, normalized size = 0.83 \[ \frac {b^{2/3}\,p\,\ln \left (b^{1/3}\,x+a^{1/3}\right )}{2\,a^{2/3}}-\frac {\ln \left (c\,{\left (b\,x^3+a\right )}^p\right )}{2\,x^2}-\frac {b^{2/3}\,p\,\ln \left (2\,b^{1/3}\,x-a^{1/3}-\sqrt {3}\,a^{1/3}\,1{}\mathrm {i}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,a^{2/3}}+\frac {b^{2/3}\,p\,\ln \left (2\,b^{1/3}\,x-a^{1/3}+\sqrt {3}\,a^{1/3}\,1{}\mathrm {i}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,a^{2/3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________